package com.xkcun.bi.feign;

import com.xkcun.bi.model.Report;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(contextId = "BiTestService", value = "xkcun-bi")
public interface BiTestService {

    @PostMapping("/city/reports")
    List<Report> reports (@RequestParam List<Integer> ids);



}
